package com.dhl.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author danghailiang
 * @date 2023年03月12日 19:39
 */
@SpringBootApplication()
@EnableDiscoveryClient
@ComponentScan("com.dhl")
@MapperScan("com.dhl.*.mapper")
public class OrderApplication {
    public static void main(String[] args) {
        try{
            SpringApplication.run(OrderApplication.class,args);
        }catch (Exception e){e.printStackTrace();}
    }
}
